package com.wenson.behavior.interpreter;

import java.util.Arrays;

/**
 * @ClassName: ExpressionClient
 * @Author: luowangcheng
 * @Date: 2024/6/16 18:14
 * @Description:
 */
public class ExpressionClient {
    public static void main(String[] args) {
        Expression sequence = new Sequence(Arrays.asList(
                new Move(500, 600),
                new Repetition(5,
                        new Sequence(
                                Arrays.asList(new LeftKeyClick(), new Delay(1))
                        )
                ),
//                new RightKeyDown(),
                new Delay(7200)
        ));
        sequence.interpret();
    }
}
